package com.company.test.collections;

import java.util.ArrayList;
import java.util.Arrays;

/**
 * @author zhangyan
 * @version $ Id: ArrayListDemo.java, v 0.1 2020/9/8 16:54 zhangyan Exp $
 */
public class ArrayListDemo {
    public static void main(String[] args) {
        ArrayList list = new ArrayList();
        list.add("aaa");
        list.add(1,"bb");
        list.remove(1);
        list.remove("aaa");
        System.out.println(list.toArray().toString());
    }
}
